import request from '@/utils/request'


export function list(param) {
  return request({
    url: '/admin/api/express',
    method: 'get',
    params: param
  })
}

export function add(data) {
  return request({
    url: '/admin/api/express',
    method: 'post',
    data
  })
}

export function del(id) {
  return request({
    url: '/admin/api/express/' + id,
    method: 'delete'
  })
}

export function edit(data) {
  return request({
    url: '/admin/api/express',
    method: 'put',
    data
  })
}

